package com.hexinfo.dmpro.monitor.dao;

import com.hexinfo.dmpro.monitor.model.CmConfigModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CmSwitchDao {

    List<CmConfigModel> selectCmServerConfig(Map<String, String> map);

    String selectServiceName(@Param("cmFlag") String cmFlag, @Param("clusterFlag") String clusterFlag,
                             @Param("type") String type);
}
